/* 
 * File:   tourney.h
 * Author: g0dragon
 *
 * Created on April 3, 2012, 10:07 PM
 */

using namespace std;

#ifndef TOURNEY_H
#define	TOURNEY_H

/**
 */
class Tourney {
	private:
		int formatType;
		string name, sport;
		list<string> players;
		string details;
		Date deadline, startDate, endDate;
		contact contactinfo, location;
	public:
		Tourney(string name, string sport, int formatType,
			Date startdate, Date enddate, Date deadline,
			contact contactInfo, contact location,
                        string details="");

		/* Information Gathering */
		string getName();
		string getSport();
		list<Date> getDates();
		struct contact getContact();
                struct contact getLocation();
		string getDetails();

		/* User-enabled editting */
		void editName();
		void editSport();
		void editDates();
		void editContact();
                void editLocation();
		void editDetails();
};

#endif	/* TOURNEY_H */

